set terminal png
set output "1000_req.png"
set title "Apache - Latency for 1000 requests sent"
set size 1,0.7
set grid y
set xlabel "request"
set ylabel "response time (ms)"
plot "1000_req_seq.txt" using 9 smooth sbezier with lines title "seq", \
"1000_req_5_cur.txt" using 9 smooth sbezier with lines title "5 concurrent", \
"1000_req_20_cur.txt" using 9 smooth sbezier with lines title "20 concurrent"

set terminal png
set output "100_req.png"
set title "Apache - Latency for 100 requests sent"
set size 1,0.7
set grid y
set xlabel "request"
set ylabel "response time (ms)"
plot "100_req_seq.txt" using 9 smooth sbezier with lines title "seq", \
"100_req_5_cur.txt" using 9 smooth sbezier with lines title "5 concurrent", \
"100_req_20_cur.txt" using 9 smooth sbezier with lines title "20 concurrent"


set terminal png
set output "10000_req.png"
set title "Apache - Latency for 10000 requests sent"
set size 1,0.7
set grid y
set xlabel "request"
set ylabel "response time (ms)"
plot "10000_req_seq.txt" using 9 smooth sbezier with lines title "seq", \
"10000_req_5_cur.txt" using 9 smooth sbezier with lines title "5 concurrent", \
"10000_req_20_cur.txt" using 9 smooth sbezier with lines title "20 concurrent"
